<?php

class Damages_Methods_Data_DealerData {

  /**
   *
   * @var int 
   */
  public $id;

  /**
   *
   * @var string 
   */
  public $name;

  /**
   *
   * @var string 
   */
  public $city;

  /**
   *
   * @var string 
   */
  public $postCode;

  /**
   *
   * @var string 
   */
  public $street;

  /**
   *
   * @var string 
   */
  public $number;

  public function __construct(DamagesDealers $data) {
    $this->id = $data->getId();
    $this->name = $data->getName();
    $this->city = $data->getCity();
    $this->postCode = $data->getPostCode();
    $this->street = $data->getStreet();
    $this->number = $data->getNumber();
  }

}